# -*- coding: utf-8 -*-
# @Time    : 2021/4/15 10:52
# @Author  : N
# @Email   : 
# @File    : 抽奖票.py
# @Software: PyCharm
#
# import random
# import string
# list = []
# b = int(input("请输入你要几个激活码："))
# with open("jhm.txt", "a+", encoding="utf-8") as ps1:
#     for i in range(b):
#         # c = string.digits + string.ascii_uppercase
#         for j in string.ascii_uppercase:
#             list.append(j)
#         for k in string.digits:
#             list.append(k)
#         print(list)
#         a = "".join(random.sample(list, 32))
#         print(a)
#         ps1.write(f"第{int(i)+1}张激活码：\t{a}\n")